package com.momo.mapper.mapper.sysSetting;

import com.momo.mapper.dataobject.AclDO;
import org.apache.ibatis.annotations.Param;

/**
 * Created by MOMO on 2019/3/21.
 */
public interface SysAclMapper {

    int insertSelective(AclDO entity);

    int updateByPrimaryKeySelective(AclDO entity);

    /**
     * 验证url唯一性
     *
     * @param url
     * @return
     */
    int checkUrluniqueness(@Param("url") String url, @Param("id") Long id);

    AclDO uuid(@Param("uuid") String uuid);

}
